package Test01;

public class Demo05 {
    public static void main(String[] args) {
        /*if (x1++ == 1 | ++y1 == 1) {
            x1 = 7;
        }
        System.out.println("x1=" + x1 + ",y1=" + y1);*/
        int x = 1, y = 1;

        if (x++ == 1 || ++y == 1) {
            x = 7;
        }
        System.out.println("x=" + x + ",y=" + y);
    }
}
